package cn.tao;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * 以/api-a/ 开头的请求都转发给service-ribbon服务；
 * 以/api-b/开头的请求都转发给service-feign服务
 * 配置在application.yml文件
 */
@SpringBootApplication
@EnableZuulProxy
@EnableEurekaClient
public class ServicezuulApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServicezuulApplication.class, args);
    }
}
